Bite 184. Analyze some Bite stats data
Login and get codingIn this Bite we will look at some Bite stats logs (usernames have been anonymized!):
$ head -5 bite_output_log.txt bite,user,completed 102,ofancourt1,False 101,ofancourt1,False 29,emilham4,False 9,mfilshin6,FalseLoad in the data using
csv's awesomeDictReaderstoring the result inself.rowsin the constructor (__init__). Next finish the 6 defined@propertymethods using the loaded in data. Eachpropertyreturns a single value. Check out the docstrings and tests for more info.Good luck and keep calm and code in Python!
213 out of 213 users completed this Bite.
Will you be the 214th person to crack this Bite?
Resolution time: ~54 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 4.0 on a 1-10 difficulty scale.
» Up for a challenge? 💪